home *** CD-ROM | disk | FTP | other *** search
/ Willard Press Kit / Willard Press Kit.iso / mac / Acrobat Reader 5 / Acrobat Reader 5.0 / Acrobat Reader 5.0.rsrc / EXVW_10026_admPrefsFullScreen < prev    next >
Text File  |  2001-09-24  |  4KB  |  86 lines

  1. gLeftColumnWidth = max(
  2.     zstring_width(zstring: '$$$/Prefs/FullScreen/DefaultTransition'),
  3.     zstring_width(zstring: '$$$/Prefs/FullScreen/MouseCursor'),
  4.     zstring_width(zstring: '$$$/Prefs/FullScreen/BackgroundColor'),
  5.     zstring_width(zstring: '$$$/Prefs/FullScreen/Monitor'));
  6.  
  7. gTransitionWidth = max(
  8.     zstring_width(zstring: '$$$avWipeLeftTransition'),
  9.     zstring_width(zstring: '$$$avWipeRightTransition'),
  10.     zstring_width(zstring: '$$$avWipeUpTransition'),
  11.     zstring_width(zstring: '$$$avWipeDownTransition'),
  12.     zstring_width(zstring: '$$$avSplitHorizontalInTransition'),
  13.     zstring_width(zstring: '$$$avSplitHorizontalOutTransition'),
  14.     zstring_width(zstring: '$$$avSplitVerticalInTransition'),
  15.     zstring_width(zstring: '$$$avSplitVerticalOutTransition'),
  16.     zstring_width(zstring: '$$$avBlindsVerticalTransition'),
  17.     zstring_width(zstring: '$$$avBlindsHorizontalTransition'),
  18.     zstring_width(zstring: '$$$avBoxInTransition'),
  19.     zstring_width(zstring: '$$$avBoxOutTransition'),
  20.     zstring_width(zstring: '$$$avGlitterRightTransition'),
  21.     zstring_width(zstring: '$$$avGlitterDownTransition'),
  22.     zstring_width(zstring: '$$$avGlitterRightDownTransition'),
  23.     zstring_width(zstring: '$$$avDissolveTransition'),
  24.     zstring_width(zstring: '$$$avRandomTransition'),
  25.     zstring_width(zstring: '$$$avReplaceTransition'));
  26.  
  27. gMouseCursorWidth = max(
  28.     zstring_width(zstring: '$$$avAlwaysVisible'),
  29.     zstring_width(zstring: '$$$avAlwaysHidden'),
  30.     zstring_width(zstring: '$$$avHiddenAfterDelay'));
  31.  
  32. gMonitorWidth = max(
  33.     zstring_width(zstring: '$$$avFullScreenMain'),
  34.     zstring_width(zstring: '$$$avFullScreenLargestIntersection'),
  35.     zstring_width(zstring: '$$$avFullScreenMostColors'),
  36.     zstring_width(zstring: '$$$avFullScreenWidest'),
  37.     zstring_width(zstring: '$$$avFullScreenTallest'),
  38.     zstring_width(zstring: '$$$avFullScreenLargest'));
  39.  
  40. gPopupWidth = max(
  41.     gTransitionWidth,
  42.     gMouseCursorWidth,
  43.     gMonitorWidth);
  44.  
  45. dialog(name: '$$$/Prefs/FullScreen', margin_height: 0, margin_width: 0)
  46. {
  47.     view(align_children: align_left, dheight: gPrefsPanelHeight, dwidth: gPrefsPanelWidth)
  48.     {
  49.         cluster(name: '$$$/Prefs/FullScreen/Navigation', dwidth: gPrefsPanelWidth, align_children: align_left)
  50.         {
  51.             view(align_children: align_row)
  52.             {
  53.                 check_box(item_id: 'auto', name: '$$$/Prefs/FullScreen/AdvanceEvery');
  54.                 edit_text(item_id: 'secs', width: max_char_width() * 2);
  55.                 static_text(name: '$$$/Prefs/FullScreen/Seconds');
  56.             }
  57.             check_box(item_id: 'clik', name: '$$$/Prefs/FullScreen/AdvanceOnAnyClick');
  58.             check_box(item_id: 'loop', name: '$$$/Prefs/FullScreen/LoopAfterLastPage');
  59.             check_box(item_id: 'exit', name: '$$$/Prefs/FullScreen/EscapeKeyExits');
  60.         }
  61.         cluster(name: '$$$/Prefs/FullScreen/Appearance', dwidth: gPrefsPanelWidth, align_children: align_left)
  62.         {
  63.             view(align_children: align_row)
  64.             {
  65.                 static_text(name: '$$$/Prefs/FullScreen/DefaultTransition', alignment: align_right, width: gLeftColumnWidth);
  66.                 popup(item_id: 'tran', width: gPopupWidth);
  67.             }
  68.             view(align_children: align_row)
  69.             {
  70.                 static_text(name: '$$$/Prefs/FullScreen/MouseCursor', alignment: align_right, width: gLeftColumnWidth);
  71.                 popup(item_id: 'mous', width: gPopupWidth);
  72.             }
  73.             view(align_children: align_row)
  74.             {
  75.                 static_text(name: '$$$/Prefs/FullScreen/BackgroundColor', alignment: align_right, width: gLeftColumnWidth);
  76.                 button(item_id: 'back', picture: true, height: 20, width: 22);
  77.             }
  78.             view(align_children: align_row)
  79.             {
  80.                 static_text(item_id: 'MonT', name: '$$$/Prefs/FullScreen/Monitor', alignment: align_right, width: gLeftColumnWidth);
  81.                 popup(item_id: 'MonM', width: gPopupWidth);
  82.             }
  83.         }
  84.     }
  85. }
  86.